package com.moleq.device;

public class PaxPinPadSetting extends ComBaseSetting{

	private int no;
	private String DestPort = "";
	private String deviceName;
	private int TimeOut;
	private String DestIP;
	private String using;
	private int SerialPort;
	private String create_datetime;
	private String update_datetime;
	private String isSignatureCapture;
	private String con_type;
	
	public PaxPinPadSetting(){}
	public PaxPinPadSetting(int no, int SerialPort, String deviceName, int TimeOut,
			String DestIP, String using,String signature_fl,String con_type,String DestPort){
		this.no = no;
		this.SerialPort = SerialPort;
		this.deviceName = deviceName;
		this.TimeOut = TimeOut;
		this.DestIP = DestIP;
		this.using = using;
		this.setIsSignatureCapture(signature_fl);
		this.con_type = con_type;
		this.DestPort = DestPort;
	}
	public String getDestIP() {
		return DestIP;
	}
	public void setDestIP(String destIP) {
		DestIP = destIP;
	}

	public String getDestPort() {
		return DestPort == null?"":DestPort;
	}

	public void setDestPort(String destPort) {
		DestPort = destPort;
	}
	
	public int getTimeOut() {
		return TimeOut * 1000;
	}
	public void setTimeOut(int timeOut) {
		TimeOut = timeOut;
	}
	public int getNo() {
		return no;
	}
	public void setNo(int no) {
		this.no = no;
	}
	public String getDeviceName() {
		return deviceName;
	}
	public void setDeviceName(String deviceName) {
		this.deviceName = deviceName;
	}
	public String getUsing() {
		return using;
	}
	public void setUsing(String using) {
		this.using = using;
	}
	public String getCreate_datetime() {
		return create_datetime;
	}
	public void setCreate_datetime(String create_datetime) {
		this.create_datetime = create_datetime;
	}
	public String getUpdate_datetime() {
		return update_datetime;
	}
	public void setUpdate_datetime(String update_datetime) {
		this.update_datetime = update_datetime;
	}
	public int getSerialPort() {
		return SerialPort;
		
	}
	public void setSerialPort(int port){
		SerialPort = port;
	}
	public String getIsSignatureCapture() {
		return isSignatureCapture;
	}
	public void setIsSignatureCapture(String isSignatureCapture) {
		this.isSignatureCapture = isSignatureCapture;
	}
	public String getCon_type() {
		return con_type;
	}
	public void setCon_type(String con_type) {
		this.con_type = con_type;
	}
}
